import java.util.HashMap;
import java.util.Map;

/**
 * @author yitta
 * @date 2021/9/26 8:15
 */
public class HelloZYDZeroEightZeroOne {
    public static void main(String[] args) {
        int[] a ={1, 2, 3, 2, 4, 5, 7, 10, 1, 5, 3, 5, 8, 9, 4, 5, 2, 3};
        Map<Integer, String> map = new HashMap<Integer, String>();

        for(int j = 1; j <= a.length; j++) {
            map.put(a[j - 1], " ");
        }
        for (Integer o:map.keySet()){
            System.out.println(o+" ");
        }

    }
}
